package com.cloud.message;

/**
 * 延迟时间等级
 *
 * @author tzj
 */
public enum DelayLevel {

    SECOND_1(1, "1秒"),
    SECOND_5(2, "5秒"),
    SECOND_10(3, "10秒"),
    SECOND_30(4, "30秒"),
    MINUTE_1(5, "1分钟"),
    MINUTE_2(6, "2分钟"),
    MINUTE_3(7, "3分钟"),
    MINUTE_4(8, "4分钟"),
    MINUTE_5(9, "5分钟"),
    MINUTE_6(10, "6分钟"),
    MINUTE_7(11, "7分钟"),
    MINUTE_8(12, "8分钟"),
    MINUTE_9(13, "9分钟"),
    MINUTE_10(14, "10分钟"),
    MINUTE_20(15, "20分钟"),
    MINUTE_30(16, "30分钟"),
    HOUR_1(17, "1小时"),
    HOUR_2(18, "2小时");

    private int level;

    private String info;

    DelayLevel(int level, String info) {
        this.level = level;
        this.info = info;
    }

    public int getLevel() {
        return level;
    }

    public String getInfo() {
        return info;
    }

}
